'use strict';
const BaseController = require('../base');
class RouterController extends BaseController {
  static get serviceName() {
    return 'business.monthlyBidding';
  }

  async submitSupplier() {
    const { ctx } = this;
    const { id, selected_supplier_id } = ctx.request.body;
    const result = await this.service.submitSupplier(id, selected_supplier_id);
    ctx.success(result);
  }
}
module.exports = RouterController; 